package com.welike.shibo.utils;

/**
 * 常量定义类
 * @author fangyu
 * @version v1.0.0
 * @since 2019-08-18 23:58
 */
public class Constants {

    public static final String REDIS_UPLOAD_KEY = "shibo:upload:";

    /**
     * session中存放用户信息的key值
     */
    public static final String SESSION_USER_INFO = "userInfo";
    public static final String ACCOUNT = "account";
    public static final String SESSION_USER_PERMISSION = "userPermission";

    /**
     * FFMpeg 路径
     */
    public static String FFMPEG_PATH = "ffmpeg";

    /**
     * 验证头命名
     */
    public static String TOKEN_HEADER = "X-Auth-Token";

    /**
     * 验证用户命名
     */
    public static String LOGIN_USER = "login_user";

    /**
     * 阿里云短信平台的开发者信息
     */
    public static final String ACCESSSKEY_ID = "LTAI5GYpH2nBzX21";
    public static final String ACCESSKEY_SECRET = "HNQjwSpn751lWXYewM2EYXe5akbNqV";

    /**
     * 腾讯云短信平台的开发者信息
     */

    public static final String TX_NATION_CODE = "86";
    public static final int TX_APP_ID = 1400254192;
    public static final String TX_APP_KEY = "4db7ea273989446fad61fb3d4ff3e453";

    /**
     * 注册的模板id
     */
    public static final int TX_REGISTER_TEMPLATE_ID = 416230;
    /**
     * 修改密码的模板id
     */
    public static final int TX_CHANGE_PWD_TEMPLATE_ID = 416236;
    /**
     * 腾讯签名模板
     */
    public static final String TX_SIGN = "";

    /**
     * 产品名称:云通信短信API产品,开发者无需替换
     */
    public static final String PRODUCT = "Dysmsapi";
    /**
     * 产品域名,开发者无需替换
     */
    public static final String DOMAIN = "dysmsapi.aliyuncs.com";
    /**
     * 短信接口连接超时时间
     */
    public static final String TIMEOUT_LIMIT = "10000";
    /**
     * 短信签名
     */
    public static final String SIGN_NAME = "视播";


    /**
     * 验证码通知短信模板(TemplateCode)
     */
    public static final String TEMPLATE_YZ_LOGIN = "SMS_172604603";

    /**
     * 登录验证码有效时间(毫秒)
     */
    public static final long LIMIT_TIME_LOGIN = 5000L;
}
